package com.lifang.framework.beans.factory.config;

import com.lifang.framework.beans.factory.support.BeanDefinition;

import java.lang.reflect.Constructor;

/**
 * bean实例化策略接口
 */
public interface InstantiationStrategy {

    Object instantiation(BeanDefinition beanDefinition, String beanName, Constructor<?> constructor, Object[] args);

}
